#define _CRT_SECURE_NO_WARNINGS 1

#include"sort.h"



void sorttest()
{
	int a1[] = { 1,9,8,4,5,2 };
	int sz1 = sizeof(a1) / sizeof(a1[0]);
	InsertSort(a1, sz1);
	int a2[] = { 1,9,8,4,5,2 };
	int sz2 = sizeof(a2) / sizeof(a2[0]);
	BubbleSort(a2, sz2);
	int a3[] = { 1,9,8,4,5,2 };
	int sz3 = sizeof(a3) / sizeof(a3[0]);
	SelectSort(a3, sz3);
	int a4[] = { 1,9,8,4,5,2 };
	ShellSort(a4, sz1);
	int a5[] = { 1,9,8,4,5,2 };
	HeapSort(a5, sz1);
	int a6[] = { 1,9,8,4,5,2 };
	MergesortNorR(a6, sz1);


}

int main()
{
	sorttest();
	return 0;
}
